package com.phiture.erp.purchase.core.pojo.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 采购申请单明细 DO
 *
 * @author 芋道源码
 */
@Schema(description = "管理后台 - 采购申请明细 Response VO")
@Data
@ExcelIgnoreUnannotated
public class ErpPurchaseRequestItemsRespVO {

    /**
     * ID
     */
    private Long id;
    /**
     * 申请单ID
     */
    private Long requestId;
    /**
     * 物料ID
     */
    private Long materialId;
    /**
     * 物料名称
     */
    private String materialName;
    /**
     * 物料编码
     */
    private String materialNumber;
    /**
     * 单位
     */
    private Long unitId;
    /**
     * 数量
     */
    private BigDecimal qty;
    /**
     * 单价(不含税)
     */
    private BigDecimal price;
    /**
     * 税率
     */
    private Double tax;
    /**
     * 币种
     */
    private Integer currency;
    /**
     * 金额合计
     */
    private BigDecimal amount;
    /**
     * 价税合计
     */
    private BigDecimal taxAmount;
    /**
     * 主计划ID
     */
    private Long planId;
    /**
     * 需求日期
     */
    private Date requireDate;
    /**
     * 建议采购日期
     */
    private Date advicePurchaseDate;
    /**
     * 销售订单ID
     */
    private Long saleOrderId;
    /**
     * 销售订单明细ID
     */
    private Long saleOrderItemId;
    /**
     * 已采购数量
     */
    private BigDecimal purchaseOrderQty;
    /**
     * 备注
     */
    private String remark;
    /**
     * 状态
     */
    private Integer status;

}